package com.beidouapp.translator;

import java.util.List;

import com.beidouapp.translate.Translatable;
import com.beidouapp.translate.Translator;

public interface TranslatorManager
{
    public static final String CACHE_TRANSLATOR_NAME = "__CacheTranslator__";
    
    public static final String DICT_TRANSLATOR_NAME = "__DictTranslator__";
    
    public static final String DICT_CACHENODE_PATH = "/DbDictCacheNode/";

    public<T extends Translatable> T translate(T object);
    
    public<T extends Translatable> List<T> translate(List<T> lists);
    
    public void addTranslator (Translator translator);

    public void removeTranslator (Translator translator);
}
